package com.mayikt;

import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.CyclicBarrier;

/**
 * @ClassName Test0032
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
public class Test0032 {
    public static void main(String[] args) {
         ConcurrentLinkedDeque waitDequeThrad = new ConcurrentLinkedDeque();
        waitDequeThrad.add("mayikt");
        waitDequeThrad.add("meite");
        waitDequeThrad.add("xiaowei");
        System.out.println(waitDequeThrad.poll());
        System.out.println(waitDequeThrad.size());


    }
}
